Optimal. Leaf size=46 \[ -\frac{\log \left (a+b e^{c+d x}\right )}{a^2 d}+\frac{x}{a^2}+\frac{1}{a d \left (a+b e^{c+d x}\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0328909, antiderivative size = 46, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154, Rules used = {2282, 44} \[ -\frac{\log \left (a+b e^{c+d x}\right )}{a^2 d}+\frac{x}{a^2}+\frac{1}{a d \left (a+b e^{c+d x}\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2282
Rule 44
Rubi steps
\begin{align*} \int \frac{1}{\left (a+b e^{c+d x}\right )^2} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{1}{x (a+b x)^2} \, dx,x,e^{c+d x}\right )}{d}\\ &=\frac{\operatorname{Subst}\left (\int \left (\frac{1}{a^2 x}-\frac{b}{a (a+b x)^2}-\frac{b}{a^2 (a+b x)}\right ) \, dx,x,e^{c+d x}\right )}{d}\\ &=\frac{1}{a d \left (a+b e^{c+d x}\right )}+\frac{x}{a^2}-\frac{\log \left (a+b e^{c+d x}\right )}{a^2 d}\\ \end{align*}
Mathematica [A] time = 0.039304, size = 40, normalized size = 0.87 \[ \frac{\frac{a}{a+b e^{c+d x}}-\log \left (a+b e^{c+d x}\right )+d x}{a^2 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.001, size = 54, normalized size = 1.2 \begin{align*}{\frac{\ln \left ({{\rm e}^{dx+c}} \right ) }{{a}^{2}d}}-{\frac{\ln \left ( a+b{{\rm e}^{dx+c}} \right ) }{{a}^{2}d}}+{\frac{1}{ad \left ( a+b{{\rm e}^{dx+c}} \right ) }} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.05732, size = 69, normalized size = 1.5 \begin{align*} \frac{1}{{\left (a b e^{\left (d x + c\right )} + a^{2}\right )} d} + \frac{d x + c}{a^{2} d} - \frac{\log \left (b e^{\left (d x + c\right )} + a\right )}{a^{2} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.48526, size = 146, normalized size = 3.17 \begin{align*} \frac{b d x e^{\left (d x + c\right )} + a d x -{\left (b e^{\left (d x + c\right )} + a\right )} \log \left (b e^{\left (d x + c\right )} + a\right ) + a}{a^{2} b d e^{\left (d x + c\right )} + a^{3} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.200763, size = 39, normalized size = 0.85 \begin{align*} \frac{1}{a^{2} d + a b d e^{c + d x}} + \frac{x}{a^{2}} - \frac{\log{\left (\frac{a}{b} + e^{c + d x} \right )}}{a^{2} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.23734, size = 70, normalized size = 1.52 \begin{align*} \frac{d x + c}{a^{2} d} - \frac{\log \left ({\left | b e^{\left (d x + c\right )} + a \right |}\right )}{a^{2} d} + \frac{1}{{\left (b e^{\left (d x + c\right )} + a\right )} a d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]